package cn.neusoft.feignClients;

import cn.neusoft.interceptor.FeignInterceptor;
import cn.neusoft.vo.ResultBean;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

@FeignClient(value = "admin-server", configuration = FeignInterceptor.class)
public interface AdminFeignClient {

    // 得到正常分站的级联下拉列表
    @GetMapping("/dept/normalSubstationTreeSelect")
    ResultBean getNormalSubstationTreeSelect();

    // 得到正常仓库的级联下拉列表
    @GetMapping("/dept/normalWarehouseTreeSelect")
    ResultBean getNormalWarehouseTreeSelect();
}
